<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>就诊记录</title>
    <%- include('../_global/baseLibsJKDA') %>
    <link rel="stylesheet" href="/static/css/jkda/page-main.css"/>
    <script src="/static/js/gzd/pageUrl.js"></script>
    <script src="/static/js/gzd/jkda.js"></script>


    <style type="text/css">
        html, body {
            width: 100%;
            height: 100%;
            margin: 0px;
        }
        body {
            transform: perspective(1400px) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
            transform-style: preserve-3d;
            /*background-color: transparent;*/
        }
    </style>

</head>
<body>
<div class="tab-box">
    <span class="gray-line"></span>
    <ul id="ListTab">
        <li class="active" ><a>门诊记录</a></li>
        <li ><a>住院记录</a></li>
    </ul>

</div>
<div id="ListTabBox">
    <div class="tab active">
        <div class="mz-list"  >
            <ul id= "mzjl" >
            </ul>
        </div>
    </div>
    <div class="tab">
        <div class="mz-list" >
            <ul id= "zyjl" ></ul>
        </div>
    </div>
</div>
</body>
<script src="/static/js/jkda/forweb.js"></script>
<script type="text/javascript">

</script>
</html>
<script type="text/html" id="mzjlTpl">
    {{each data}}
    <li onclick="toMzDetail({{$value}})">
        <a class="li-box">
            <div class="black-block" style="margin-right:0.78345rem">
                <span>{{$value.hosName}}</span>
                <span class="black-span">{{$value.depName}}</span>
                <span class="black-span-2">{{$value.doctorName}}</span>
            </div>
            <div class="gray-block"><span>就诊时间：</span><span>{{$value.orderDate}}</span>
            </div>
            <div class="gray-block"><span>诊断：</span><span>{{$value.diagnose}}</span>
            </div>
        </a>
    </li>
    {{/each}}
</script>
<script type="text/html" id="zyjlTpl">
    {{each data}}
    <li>
        <a class="li-box" onclick="toZyDetail({{$value}})">
            <div class="black-block">
                <span>{{$value.hosName}}</span>
            </div>
            <div class="gray-block"><span>入院：</span><span></span>
                <span class="black-span">{{$value.startDate}}</span>
            </div>
            <div class="gray-block">
                <span>出院：</span><span></span><span class="black-span">{{$value.endDate}}</span>
            </div><div class="gray-block"><span>诊断：</span><span></span></div></a>
    </li>
    {{/each}}
</script>
<%- include('../_global/mb_01_view') %>